 
package com.zdkj.subway.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.st.dto.in.SwStAuditDTO;
import com.zdkj.subway.st.entity.SwStPlanDay;
import com.zdkj.subway.st.entity.SwStPlanWeek;

import java.util.List;

public interface SwStPlanWeekService extends IService<SwStPlanWeek> {

    /**
     * 批量提交
     * @param ids
     * @return
     */
    boolean submitBatch(List<Integer> ids);

    /**
     * 批量审批
     * @param swStAuditDTO
     * @return
     */
    boolean auditBatch(SwStAuditDTO swStAuditDTO);
    /**
     * 分解周计划
     * @param id 周计划id
     * @param planDays 计划明细
     */
    boolean decompose(Long id, List<SwStPlanDay> planDays);

    /**
     * 修改分解周计划信息
     * @param id 周计划id
     * @param planDays 计划明细
     */
    boolean updateDecompose(Long id, List<SwStPlanDay> planDays);
    /**
     * 根据月ID删除分解信息
     * @param id
     * @return
     */
    boolean delByPlanMonthId(Long id);
}
